home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-19 | 1.6 KB | 58 lines | [TEXT/CWIE] |
- // ===========================================================================
- // SCAPIGroupBox.h ©1997 Spunk Cross All rights reserved.
- // ===========================================================================
-
- #ifndef SCAPIGROUPBOX_H
- #define SCAPIGROUPBOX_H
-
- #include "SCAPICommonIncludes.h"
- #include "SCAPIWindow.h"
-
-
- // ---------------------------------------------------------------------------
- // Defines
- // ---------------------------------------------------------------------------
-
- #define SCAPIGroupBox_default_title "group box"
- #define SCAPIGroupBox_default_originx 0
- #define SCAPIGroupBox_default_originy 0
- #define SCAPIGroupBox_default_width 200
- #define SCAPIGroupBox_default_height 100
-
-
- // ---------------------------------------------------------------------------
- // GroupBox Class
- // ---------------------------------------------------------------------------
-
- class SCAPIGroupBox : public CButton
- {
-
- // ===========================================================
- // === Spunk Cross API, these are the routines you can use ===
- // ===========================================================
-
- // Constructor - Destructor
- // ------------------------
-
- public:
-
- SCAPIGroupBox( SCAPIWindow* inWindowP,
- char* inTitle = SCAPIGroupBox_default_title,
- int inOriginx = SCAPIGroupBox_default_originx,
- int inOriginy = SCAPIGroupBox_default_originy,
- int inWidth = SCAPIGroupBox_default_width,
- int inHeight = SCAPIGroupBox_default_height );
-
- ~SCAPIGroupBox();
-
-
- // Member functions
- // ----------------
-
- public:
-
- void Enable();
- void Disable();
- };
-
- #endif